//
//  HomeScreenItem.m
//  TopGirls
//
//  Created by Khang on 10/1/13.
//
//

#import "HomeScreenItem.h"

@implementation HomeScreenItem

@synthesize numberSubCell;
@synthesize icons;

@synthesize rectSubCells;

+ (id)itemWithSubCellInCell:(NSInteger)number withIcons:(NSArray *)ico {
    HomeScreenItem* item = [[HomeScreenItem alloc] init];
    item.numberSubCell = number;
    item.icons = ico;
    
    item.rectSubCells = [NSMutableArray array];
    
    return item;
}

- (void)dealloc {
    self.icons = nil;
    
    if (self.rectSubCells) {
        [self.rectSubCells removeAllObjects];
    }
    self.rectSubCells = nil;
}

@end
